package main

import "fmt"

const (
	//每定一个常量组 iota从0开始加1
	A = iota
	B
	C
	D
	E = "hehe"
	F
	G = iota
)
const (
	H = iota
	J
)

func main() {

	fmt.Printf("A=%v B=%v C=%v D=%v \n", A, B, C, D)
	fmt.Printf("E=%v F=%v G=%v \n", E, F, G)
	fmt.Printf("H=%v J=%v", H, J)

}
